package com.qf.spring004.advice;

import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;
//前置接口  MethodBeforeAdvice
public class MyAdvice implements MethodBeforeAdvice {
    public void before(Method method, Object[] args, Object target) throws Throwable {
        System.out.println("my advice 被调用了...");
    }
}
